if (requestbody.content) {
    var jsonData = jsonUtils.toObject(requestbody.content);
    if (jsonData['docGroup']) {
        var docGroup = jsonData['docGroup'];
    }

    var arr = [];
    if (docGroup.indexOf("vacAppeal") != -1) {
        arr.push("D\u0117l kasmetini\u0173 atostog\u0173 suteikimo");
        arr.push("D\u0117l kasmetini\u0173 atostog\u0173 perk\u0117limo");
        arr.push("D\u0117l kasmetini\u0173 atostog\u0173 prat\u0119simo");
        arr.push("D\u0117l kasmetini\u0173 minimali\u0173 35 kalendorini\u0173 dien\u0173 atostog\u0173 suteikimo");
        arr.push("D\u0117l kasmetini\u0173 atostog\u0173 nutraukimo");
        model.docList=arr;
    } else if (docGroup == "alAppeal"){
        arr.push("D\u0117l materialin\u0117s pa\u0161alpos skyrimo");
        arr.push("D\u0117l vienkartin\u0117s pa\u0161alpos skyrimo gimus vaikui");
        arr.push("D\u0117l vienkartin\u0117s pa\u0161alpos skyrimo mirus \u0161eimos nariui");
        model.docList=arr;
    } else if (docGroup == "perAppeal"){
        arr.push("D\u0117l nemokam\u0173 atostog\u0173 suteikimo");
        arr.push("D\u0117l nemokam\u0173 atostog\u0173 nutraukimo");
        arr.push("D\u0117l nemokam\u0173 mokymosi atostog\u0173 suteikimo");
        arr.push("D\u0117l nemokam\u0173 mokymosi atostog\u0173  nutraukimo");
        arr.push("D\u0117l mokam\u0173 mokymosi atostog\u0173 suteikimo");
        arr.push("D\u0117l mokam\u0173 mokymosi atostog\u0173 at\u0161aukimo");
        arr.push("D\u0117l mokam\u0173 atostog\u0173 santuokai sudaryti");
        arr.push("D\u0117l mokam\u0173 atostog\u0173 mirusio \u0161eimos nario laidotuv\u0117ms");
        arr.push("D\u0117l n\u0117\u0161tumo ir gimdymo atostog\u0173 suteikimo");
        arr.push("D\u0117l n\u0117\u0161tumo ir gimdymo atostog\u0173 prat\u0119simo");
        arr.push("D\u0117l atostog\u0173 vaikui pri\u017Ei\u016Br\u0117ti suteikimo");
        arr.push("D\u0117l atostog\u0173 vaikui pri\u017Ei\u016Br\u0117ti nutraukimo");
        arr.push("D\u0117l t\u0117vyst\u0117s atostog\u0173 suteikimo");
        arr.push("D\u0117l t\u0117vyst\u0117s atostog\u0173 nutraukimo");
        model.docList=arr;
    } else if (docGroup == "appealSecLR"){
        arr.push("D\u0117l komandiruot\u0117s Lietuvos Respublikoje");
        model.docList=arr;
    } else if (docGroup == "secAbroadNotice"){
        arr.push("D\u0117l komandiruot\u0117s \u012F u\u017Esien\u012F");
        model.docList=arr;
    }
    else {
        status.code = 400;
        status.message = "Provided bad document group not in the list.";
        status.redirect = true;
    }
} else {
    status.code = 400;
    status.message = "Document group argument has not been provided.";
    status.redirect = true;
}